package cn.wolfcode.trip.base.service;


import cn.wolfcode.trip.base.domain.StrategyCatalog;
import cn.wolfcode.trip.base.domain.StrategyContent;
import cn.wolfcode.trip.base.domain.StrategyDetail;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IStrategyDetailService {

    void saveOrUpdate(StrategyDetail strategyDetail);


    PageInfo<StrategyDetail> queryForList(QueryObject qo);


    /**
     * 根据攻略id查询分类
     * @param strategyId
     * @return
     */
    List<StrategyCatalog> listCatalogBystrategyId(Long strategyId);

    StrategyContent getContent(Long id);
}
